import { RouteRecordRaw } from 'vue-router';

export default {
  path: '/user',
  name: 'layout',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: 'menus.userLayout',
    icon: 'el-icon-User',

    sort: 6
  },
  children: [
    {
      path: '/user',
      name: 'user_index',
      component: () => import('@/views/user/index.vue'),
      meta: {
        title: 'menus.user',
        icon: 'el-icon-more'
      }
    },
    {
      path: '/user/deatils',
      name: 'user_deatils',
      component: () => import('@/views/user/list/index.vue'),
      meta: {
        title: 'menus.userDetails',
        icon: 'el-icon-more'
      }
    }
  ]
} as RouteRecordRaw;
